package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.item.dto.SpecGroupDTO;
import com.leyou.item.entity.SpecGroup;

import java.util.List;

public interface SpecGroupService extends IService<SpecGroup> {
    List<SpecGroupDTO> queryGroupListByCategoryId(Long id);

    List<SpecGroupDTO> querySpecListByCategoryId(Long id);

    void addSpecGroup(SpecGroup specGroup);

    void updateGroup(SpecGroup specGroup);

    void deleteGroupById(Long id);
}
